import request from '@/router/axios';


//列表
export const getList = (current, size, params) => {
  return request({
    url: '/api/scnotation/page',
    method: 'get',
    params: {
      current,
      size,
      ...params
    }
  })
}

export const getSpecialSymbols = () => {
  return request({
    url: '/api/scnotation/list',
    method: 'get',
  })
}

export const save = (data) => {
  return request({
    url: '/api/scnotation/save',
    method: 'post',
    data
  })
}

export const submit = (data) => {
  return request({
    url: '/api/scnotation/submit',
    method: 'post',
    data
  })
}

export const remove = (ids) => {
  return request({
    url: '/api/scnotation/remove',
    method: 'post',
    params: {
      ids
    }
  })
}

export const updates = (data) => {
  return request({
    url: '/api/scnotation/update',
    method: 'post',
    data
  })
}
